-
Home
-
reSmush.it : The original free image compressor and optimizer plugin
-
1.0.4 (latest)
-
Code
-
Classes
- FileModel
Total Complexity |
146 |
Dependencies |
3 |
Dependents |
2 |
Total lines |
817 |
Lines of code |
525 |
Logical lines of code |
292 |
Comment lines |
133 |
Methods |
35 |
Properties |
21 |
Methods 35
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
mb_pathinfo() |
A |
48 |
14 |
34 |
relativeToFullPath() |
A |
48 |
11 |
33 |
is_file() |
A |
50 |
10 |
33 |
processPath() |
A |
49 |
10 |
33 |
UrlToPath() |
A |
45 |
7 |
45 |
getMime() |
A |
55 |
8 |
19 |
copy() |
S |
50 |
6 |
28 |
fileIsRestricted() |
S |
53 |
6 |
24 |
is_directory_writable() |
S |
55 |
6 |
22 |
setFileInfo() |
S |
60 |
6 |
12 |
is_writable() |
S |
55 |
5 |
24 |
getFileSize() |
S |
58 |
5 |
17 |
exists() |
S |
58 |
5 |
15 |
checkTrustedMode() |
S |
55 |
4 |
22 |
delete() |
S |
55 |
4 |
20 |
__construct() |
S |
58 |
4 |
17 |
create() |
S |
59 |
4 |
15 |
move() |
S |
61 |
3 |
14 |
append() |
S |
60 |
3 |
13 |
getFileDir() |
S |
67 |
3 |
8 |
is_virtual() |
S |
74 |
2 |
5 |
getFullPath() |
S |
70 |
2 |
7 |
getPermissions() |
S |
72 |
2 |
5 |
getFileName() |
S |
74 |
2 |
5 |
getFileBase() |
S |
74 |
2 |
5 |
getExtension() |
S |
74 |
2 |
5 |
is_readable() |
S |
73 |
2 |
5 |
resetStatus() |
S |
64 |
1 |
11 |
__debuginfo() |
S |
63 |
1 |
11 |
getModified() |
S |
80 |
1 |
3 |
getContents() |
S |
80 |
1 |
3 |
getRawFullPath() |
S |
82 |
1 |
3 |
setPermissions() |
S |
79 |
1 |
3 |
__toString() |
S |
81 |
1 |
3 |
getFS() |
S |
78 |
1 |
3 |